import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// import "vant/lib/index.less"

import MyVant from "./components/Vant/index"
Vue.use(MyVant)

import "./assets/js/flexible.js"
import "./assets/css/reset.less"
import "./assets/css/base.less"
import "./assets/css/font-awesome.less"

import Layout from "./components/Layout"
Vue.component("Layout", Layout)

import validators from './common/Validators'
Vue.prototype.$valid = validators

import Utils from './utils/index'
Vue.prototype.$utils = Utils

import request from './request/index'
Vue.prototype.$http = request

import filters from './common/Filters'
Vue.use(filters)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
